package com.itheima.blockingquene.shengchanxiaofei;


import java.util.concurrent.ArrayBlockingQueue;

public class Test {

    public static void main(String[] args) {
        ArrayBlockingQueue<String> list = new ArrayBlockingQueue<>(5);
        Foodie f = new Foodie(list);
        Cooker c = new Cooker(list);
        f.start();
        c.start();


    }
}
